[#ftl]
[@keyword "agile.MetadataConstraint"/]
agile.singoton("agile.MetadataConstraint",{
	_readOnly:null,_ignore:false,_important:false
   ,readOnly:function(widget){ 
	   return this._readOnly == null?(widget.metadata("moveable") ? false:true) : this._readOnly;
   }
   ,onValueChange:function(ownerWidget,name,htmlName,value){}
   ,ignore:function(ownerWidget,sourceType){ return this._ignore;}
   ,important:function(ownerWidget,sourceType){ return this._important;}
//   ,constructor:function(){
//	   console.error("MetadataConstraint....constructor")
//   }
});
